import React, { Component } from "react";
import { AppRegistry, Text } from "react-native";

class HelloWorldApp extends Component {
  render() {
    return <Text>Hello world!</Text>;
  }
}

// 注意，这里用引号括起来的'HelloWorldApp'必须和你init创建的项目名一致
AppRegistry.registerComponent("HelloWorldApp", () => HelloWorldApp);
